package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 首页推荐商品对象 tb_home_recommends_product
 * 
 * @author ruoyi
 * @date 2024-09-11
 */
public class TbHomeRecommendsProduct extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long recommendsProductId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long homepageId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long productId;

    public void setRecommendsProductId(Long recommendsProductId) 
    {
        this.recommendsProductId = recommendsProductId;
    }

    public Long getRecommendsProductId() 
    {
        return recommendsProductId;
    }
    public void setHomepageId(Long homepageId) 
    {
        this.homepageId = homepageId;
    }

    public Long getHomepageId() 
    {
        return homepageId;
    }
    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("recommendsProductId", getRecommendsProductId())
            .append("homepageId", getHomepageId())
            .append("productId", getProductId())
            .toString();
    }
}
